package org.example.Function;

import java.util.function.Function;

public class functionTest {
    public static void main(String[] args) {
// Function  Consumer  Predicate   Supplier
//       Function function =  new Function<String,String>() {
//            @Override
//            public String apply(String str) {
//                return str.toUpperCase();
//            }
//        };
       Function function = (str)-> str;
        System.out.println(function.apply("hjl"));

    }

}
